package cn.wangqi.personal.domain;

import java.io.Serializable;
import java.util.Date;


/**
 *created by admin  2017-10-19 09:53:46
   实体：BlogUser
 */
public class BlogUser implements Serializable{
    private static final long serialVersionUID = 1L;

    //用户id
    private int id;

    //用户名称
    private String userName;

    private String password;

    private String backImg;

    //注册ip
    private String ip;

    //设备id
    private String deviceId;

    //用户手机
    private String phone;

    //email
    private String email;

    //所属地区
    private String ownLand;

    //注册类型
    private int userType;

    //微信号
    private String wechatCode;

    //QQ号
    private String qq;

    private String git;

    //终端(1.pc 2. mobile)
    private int terminal;

    private String remark;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //是否锁定
    private int lock;

    private String salt;

    public String getCredentialsSalt() {
        return userName + salt;
    }

    public void setId(int id){
        this.id = id;
    }

    public int getId(){
        return this.id;
    }

    public void setUserName(String userName){
        this.userName = userName;
    }

    public String getUserName(){
        return this.userName;
    }

    public void setPassword(String password){
        this.password = password;
    }

    public String getPassword(){
        return this.password;
    }

    public void setBackImg(String backImg){
        this.backImg = backImg;
    }

    public String getBackImg(){
        return this.backImg;
    }

    public void setIp(String ip){
        this.ip = ip;
    }

    public String getIp(){
        return this.ip;
    }

    public void setDeviceId(String deviceId){
        this.deviceId = deviceId;
    }

    public String getDeviceId(){
        return this.deviceId;
    }

    public void setPhone(String phone){
        this.phone = phone;
    }

    public String getPhone(){
        return this.phone;
    }

    public void setEmail(String email){
        this.email = email;
    }

    public String getEmail(){
        return this.email;
    }

    public void setOwnLand(String ownLand){
        this.ownLand = ownLand;
    }

    public String getOwnLand(){
        return this.ownLand;
    }

    public void setUserType(int userType){
        this.userType = userType;
    }

    public int getUserType(){
        return this.userType;
    }

    public void setWechatCode(String wechatCode){
        this.wechatCode = wechatCode;
    }

    public String getWechatCode(){
        return this.wechatCode;
    }

    public void setQq(String qq){
        this.qq = qq;
    }

    public String getQq(){
        return this.qq;
    }

    public void setGit(String git){
        this.git = git;
    }

    public String getGit(){
        return this.git;
    }

    public void setTerminal(int terminal){
        this.terminal = terminal;
    }

    public int getTerminal(){
        return this.terminal;
    }

    public void setRemark(String remark){
        this.remark = remark;
    }

    public String getRemark(){
        return this.remark;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getCreateTime(){
        return this.createTime;
    }

    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    public Date getUpdateTime(){
        return this.updateTime;
    }

    public void setLock(int lock){
        this.lock = lock;
    }

    public int getLock(){
        return this.lock;
    }

    public void setSalt(String salt){
        this.salt = salt;
    }

    public String getSalt(){
        return this.salt;
    }

}